import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    component: () => import("../components/Home.vue"),
  },
  {
    path: "/task",
    component: () => import("../components/Task.vue"),
  },
  {
    path: "/message",
    component: () => import("../components/Message.vue"),
  },
  {
    path: "/store",
    component: () => import("../components/Store.vue"),
  },
];
const router = createRouter({
  history: createWebHistory(),
  routes,
});
 
export default router